﻿using System;
using System.Reflection;

namespace YJKInspectModel.ModelValidation.StairsRamp
{
	internal class ValidationStandard
	{
		public static string GetArchStdXmlPath()
		{
			return ValidationStandard.GetAppRootPath() + "\\Data\\建筑规范.xml";
		}

		public static string GetAppRootPath()
		{
			string location = Assembly.GetExecutingAssembly().Location;
			int length = location.LastIndexOf("\\");
			string text = location.Substring(0, length);
			length = text.LastIndexOf("\\");
			return text.Substring(0, length);
		}
	}
}
